home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / prog / pas_all.zip / TI149.ASC < prev    next >
Text File  |  1991-09-11  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.   PRODUCT : TURBO PASCAL                               NUMBER : 149
  10.   VERSION : ALL
  11.        OS : CP/M-80
  12.      DATE : March 4, 1986                                PAGE : 1/1
  13.     TITLE : ROMMING CODE FOR CP/M-80
  14.  
  15.  
  16.  
  17.  
  18.   The following guidelines are for developers who wish to ROM Turbo
  19.   Pascal code. The guidelines assume that the developer has the
  20.   knowledge to undertake the task, hence are worded for the
  21.   experienced developer.
  22.  
  23.   Guidelines:
  24.  
  25.   1)   Addresses 0-FF must be RAM and must reflect the normal usage
  26.        in a CP/M environment.
  27.  
  28.   2)   Address 1 is used to locate the BIOS vector (NOTE: this is
  29.        only relevant if you do not redefine device I/O procedures).
  30.  
  31.   3)   Address 6 is used to indicate the top of available memory.
  32.  
  33.   4)   Addresses A0-FF are used by the Run-Time system for local
  34.        variables (NOTE: this cannot be changed).
  35.  
  36.   5)   When a Turbo Pascal program terminates it calls address 0.
  37.  
  38.   6)   When compiling the program you must use the Options menu to
  39.        ensure that variables are placed in RAM.
  40.  
  41.   7)   Turbo Pascal does not make any BDOS calls unless the program
  42.        uses file I/O. Turbo Pascal does however make BIOS calls for
  43.        device I/O. In order to avoid these calls to the BIOS the
  44.        I/O procedure addresses should be changed by changing the
  45.        appropriate pointers ie., ConOutPtr, etc.
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.